#ifndef NAMEDPIPE_HPP_
# define NAMEDPIPE_HPP_

# include		<string>

class			NamedPipe
{
public:
  NamedPipe(const std::string &filename) : _filename(filename) {}
  NamedPipe(NamedPipe const& np) : _filename(np._filename) {}
  NamedPipe	&operator=(NamedPipe const& np) { this->_filename = np._filename; return (*this); }
  ~NamedPipe() {}

  void			write(const std::string &);
  const std::string	read(void);

private:
  std::string	_filename;
};

#endif /* !NAMEDPIPE_HPP_ */
